#include <Python.h>


void call_python()
{
	Py_Initialize();
	PyRun_SimpleString("import sys");
	PyRun_SimpleString("sys.path.append('./')");
	PyObject *pModule = NULL;
	PyObject *pFunc = NULL;
	pModule = PyImport_ImportModule("hw");
	pFunc = PyObject_GetAttrString(pModule, "HelloWorld");
	PyEval_CallObject(pFunc, NULL);

	Py_Finalize();
	return;
}
int main(int argc, char *argv[])
{
	call_python();
	return 0;
}
